home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
C for beginners.adf
/
source
/
string.c
< prev
next >
Wrap
C/C++ Source or Header
|
1978-01-17
|
177b
|
19 lines
/* string.c17*/
strlen(string)
char string[];
{
int i = 0;
while(string[i])
i++;
return(i);
}
strcopy(from,to)
char *from,*to;
{
while(*from++ = *to++)
;
}